package Components 
{
	import flash.geom.Vector3D;
	import nl.jorisdormans.phantom2D.objects.GameObject;
	import nl.jorisdormans.phantom2D.objects.renderers.BoundingShapeRenderer;
	import nl.jorisdormans.phantom2D.objects.shapes.BoundingPolygon;
	/**
	 * ...
	 * @author Sebastiaan
	 */
	public class SlopeRight extends GameObject
	{
		private var owner : GameObject;
		
		public function SlopeRight() 
		{
			addComponent(new BoundingPolygon(new Vector3D(20, -20), new Vector3D(-20, 20), new Vector3D(-20, -20)));
			addComponent(new BoundingShapeRenderer(0x8888ff));
			addComponent(new CauseDamage(owner));
		}
		
	}

}